//
//  QCUpdateViewController.swift
//  爱汽车
//
//  Created by tucici on 2023/8/24.
//

import UIKit
import TCCKit

class QCUpdateViewController: CCAlertViewController {
    @IBOutlet var titleLbl: UILabel!
    @IBOutlet var contentView: UITextView!
    var block:(()->Void)?
    override func viewDidLoad() {
        super.viewDidLoad()
        view.backgroundColor = "#000000".color(0.8)
    }
    
    @IBAction func actionForBtn(_ sender: UIButton) {
        self.dismiss(animated: false) {[weak self] in
            if sender.currentTitle ?? "" == LS("去升级"){
                self?.block?()
            }
        }
    }
    override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
        
    }
    
}
